Improved DI diagnostics with readable AP and KSP error guidance - #740
Open
GoodforGod wants to merge 2 commits into
Open
Improved DI diagnostics with readable AP and KSP error guidance#740GoodforGod wants to merge 2 commits into
GoodforGod wants to merge 2 commits into
Conversation
Improved Kora DI compile-time diagnostics so unresolved, duplicate, circular, generic, and internal processor failures report clearer context, dependency paths, hints, and actionable fixes across annotation processing and KSP. - Improved user-facing dependency errors with consistent `Required at`, `Dependency resolution path`, `Hint`, and `Fix` sections. - Improved AP and KSP parity for dependency claim sources, component declarations, extension failures, and module hint diagnostics. - Fixed vague internal failures by replacing empty or raw unchecked exceptions with explicit `Kora internal error` messages.
Test Results713 tests 704 ✅ 27m 20s ⏱️ Results for commit a65a891. ♻️ This comment has been updated with latest results. |
Dependency Update ReportUpdate level: Found
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EN
Improved Kora DI compile-time diagnostics for annotation processing and KSP. Dependency resolution errors now provide clearer context, paths, hints, and fixes, while internal processor invariants report explicit
Kora internal errormessages instead of vague unchecked exceptions.RU
Улучшен вывод ошибок DI при компиляции для annotation processing и KSP. Ошибки разрешения зависимостей теперь показывают более понятный контекст, путь, подсказки и исправления, а внутренние инварианты процессора выводят явные сообщения
Kora internal errorвместо неясных unchecked exceptions.Required at,Dependency resolution path,Hint, andFixsections.RuntimeException,IllegalStateException, and related unchecked exceptions with explicit contextual messages.Diagnostic format
Improved dependency errors now use a readable compiler-style structure: